<template>
  <div class="content">
    <div class="login-wrapper">
      <div class="left-img">
        <div class="glass">
          <div class="tips">
            <div class="title">Ji Qiu</div>
            <h1>芸窗-编辑端</h1>
            <span>“芸窗”期刊采编系统</span>
            <span>Viva la Vida-生命万岁</span>
            <span>人生海海，山山而川，不过尔尔</span>
            <span>Thought of calling ya but you won't pick up.</span>
            <span>Another fortnight lost in America.</span>
            <span>Move to Florida buy the car you want.</span>
            <span>But it won't start up till you touch touch touch me.</span>
          </div>
        </div>
      </div>
      <div class="right-login-form">
        <div class="form-wrapper">
          <div class="logo">
            <img src="../assets/images/login-logo.png" alt="芸窗" />
            <h4
              style="font-family: ChongXiSmallSeal; color: var(--jiqiu-color)"
            >
              芸窗
            </h4>
          </div>
          <div class="input-items">
            <span class="input-tips"> 账号</span>
            <input type="text" class="inputs" placeholder="输入您的账号" />
          </div>
          <div class="input-items">
            <span class="input-tips"> 密码 </span>
            <input type="password" class="inputs" placeholder="输入密码" />
          </div>
          <button class="btn" ><a href="http://localhost:929/#/">Log in</a></button>
          <div class="siginup-tips">
            <span>没有账号?</span>&nbsp;
            <span>加入芸窗</span>
          </div>
          <div class="other-login">
            <div class="divider">
              <span class="line"></span>
              <span class="divider-text">芸窗</span>
              <span class="line"></span>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>
<script setup>
</script>
<style scoped>
.content {
  width: 100vw;
  height: 100vh;
  background-image: linear-gradient(
    to right,
    rgb(219, 234, 254),
    rgb(147, 197, 253),
    rgb(59, 130, 246)
  );
  position: relative;
}
.content .login-wrapper {
  width: 70vw;
  height: 80vh;
  background-color: #fff;
  border-radius: 40px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
}
.content .login-wrapper .left-img {
  border-radius: 40px;
  flex: 1;
  background: url("@/assets/images/1.jpg") no-repeat;
  background-size: cover;
  position: relative;
}
.content .login-wrapper .left-img .glass {
  width: 68%;
  padding: 20px;
  color: #fff;
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translate(-50%, -20%);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.48);
}
.content .login-wrapper .left-img .glass .tips .title {
  width: 25%;
  font-weight: 600;
  font-size: 15px;
  text-align: center;
  padding: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.48);
}
.content .login-wrapper .left-img .glass .tips h1 {
  margin: 15px 0;
}
.content .login-wrapper .left-img .glass .tips span {
  margin: 5px 0;
  display: block;
  font-weight: 100;
}
.content .login-wrapper .right-login-form {
  flex: 1;
  position: relative;
}
.content .login-wrapper .right-login-form .form-wrapper {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.content .login-wrapper .right-login-form .form-wrapper h1 {
  font-size: 30px;
  text-align: center;
}
.content .login-wrapper .right-login-form .form-wrapper .input-items {
  margin: 20px 0;
}
.content
  .login-wrapper
  .right-login-form
  .form-wrapper
  .input-items
  .input-tips {
  display: inline-block;
  font-weight: 600;
  font-size: 20px;
  margin: 10px 0;
}
.content .login-wrapper .right-login-form .form-wrapper .input-items .inputs {
  width: 100%;
  height: 50px;
  border-radius: 10px;
  border: 1px solid rgb(227, 227, 227);
  padding: 20px;
  box-sizing: border-box;
  outline: none;
  transition: 0.5s;
}
.content
  .login-wrapper
  .right-login-form
  .form-wrapper
  .input-items
  .inputs:focus {
  border: 1px solid #005bb5;
}
.content .login-wrapper .right-login-form .form-wrapper .input-items .forgot {
  float: right;
  font-weight: 600;
  text-align: right;
  margin: 5px 0;
  font-size: 13px;
  cursor: pointer;
}
.content .login-wrapper .right-login-form .form-wrapper .btn {
  width: 100%;
  height: 50px;
  background-color: #005bb5;
  border: 0;
  border-radius: 10px;
  color: #fff;
  font-size: 25px;
  margin: 20px 0;
  cursor: pointer;
}
.content .login-wrapper .right-login-form .form-wrapper .siginup-tips {
  text-align: center;
  font-weight: 600;
  margin: 10px 0;
}
.content
  .login-wrapper
  .right-login-form
  .form-wrapper
  .siginup-tips
  span:last-child {
  color: #c12a54;
  cursor: pointer;
}
.content .login-wrapper .right-login-form .form-wrapper .other-login .divider {
  width: 100%;
  margin: 20px 0;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.content
  .login-wrapper
  .right-login-form
  .form-wrapper
  .other-login
  .divider
  .line {
  display: inline-block;
  max-width: 35%;
  width: 35%;
  flex: 1;
  height: 1px;
  background-color: rgb(162, 172, 185);
}
.content
  .login-wrapper
  .right-login-form
  .form-wrapper
  .other-login
  .divider
  .divider-text {
  vertical-align: middle;
  margin: 0 20px;
  display: inline-block;
  width: 50px;
  color: rgb(162, 172, 185);
  white-space: normal;
}
.content .login-wrapper .right-login-form .form-wrapper .other-login {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.content
  .login-wrapper
  .right-login-form
  .form-wrapper
  .other-login
  .other-login-item {
  width: 70px;
  padding: 10px;
  text-align: center;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  color: rgb(51, 49, 116);
  margin: 0 10px;
  transition: 0.4s;
}
.content
  .login-wrapper
  .right-login-form
  .form-wrapper
  .other-login
  .other-login-item
  img {
  width: 40px;
  height: 40px;
  vertical-align: middle;
}
.content
  .login-wrapper
  .right-login-form
  .form-wrapper
  .other-login
  .other-login-item
  span {
  vertical-align: middle;
}
.content
  .login-wrapper
  .right-login-form
  .form-wrapper
  .other-login
  .other-login-item:hover {
  width: 80px;
  height: 50%;
  background-color: #fff;
  border: 0;
  box-shadow: 1px 10px 32px 1px rgba(186, 175, 221, 0.37);
}
.logo {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.logo img {
  width: 35px;
  margin-right: 0.3rem;
}

.logo h4 {
  font-size: 1.8rem;
  margin-top: 6px;
  letter-spacing: -0.5px;
  color: #151111;
}

@media (max-width: 1024px) {
  .login-wrapper {
    padding: 20px;
  }
  .login-wrapper .left-img {
    display: none;
  }
  .login-wrapper .right-login-form {
    padding: 20px;
  }
}
</style>
